<template>
  <div>
    <el-empty description="404 页面出错了"></el-empty>
    <el-button type = "info" @click="cancel">返回</el-button>
    <el-button type = "primary" @click="login">登录</el-button>
  </div>
</template>

<script>
  export default {
    name: "NotFound",
    methods:{
      login(){
        this.$router.push('/')
      },
      cancel(){
        this.$router.go(-1)
      }
    }
  }
</script>

<style>

</style>
